<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./WEB-INF/includes/template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:c="http://java.sun.com/jsp/jstl/core">
    <ui:define name="metadata">
	<f:metadata>
            <f:event type="preRenderView" listener="#{lectureBacking.fillForm(param.action)}"/>
	</f:metadata>
    </ui:define>
    <ui:define name="title">
        邀请校外专家开设讲座/报告申请表--OfficeBoost System
    </ui:define>





    <ui:define name="content">
        <h:form>
            <font color="blue" size="3" >
            <h:outputLabel value="邀请校外专家开设讲座/报告申请表"/>
            </font>
            <h:panelGrid columns="2" frame="hsides">
                <h:outputLabel value="申请人"/>
                <h:outputText value="#{lectureBacking.name}" />
                <h:outputLabel value="讲座/报告性质"/>
                <h:selectOneRadio value="#{lectureBacking.kind_of_lec}" readonly="#{lectureBacking.disabled[0]}">
                    <f:selectItem itemLabel="前沿技术讲座" itemValue="tech"/>
                    <f:selectItem itemLabel="学术讲座" itemValue="academic"/>
                    <f:selectItem itemLabel="其他" itemValue="other"/>
                </h:selectOneRadio>
                <h:outputLabel value="讲座/报告题目"/>
                <h:inputText value="#{lectureBacking.title}" size="40" readonly="#{lectureBacking.disabled[0]}"/>
                <h:outputLabel value="讲座/报告时间"/>
                <h:inputText value="#{lectureBacking.data}" size="40" readonly="#{lectureBacking.disabled[0]}"/>
                <h:outputLabel value="讲座/报告地点"/>
                <h:inputText value="#{lectureBacking.location}" size="40" readonly="#{lectureBacking.disabled[0]}"/>
                <h:outputLabel value="演讲人姓名"/>
                <h:inputText value="#{lectureBacking.name}" size="40" readonly="#{lectureBacking.disabled[0]}"/>
                <h:outputLabel value="演讲人职称"/>
                <h:inputText value="#{lectureBacking.positon}" size="40" readonly="#{lectureBacking.disabled[0]}"/>
                <h:outputLabel value="演讲人单位"/>
                <h:inputText value="#{lectureBacking.company}" size="40" readonly="#{lectureBacking.disabled[0]}"/>
                <h:outputLabel value="演讲人银行账号"/>
                <h:inputText value="#{lectureBacking.bank_id}" size="40" readonly="#{lectureBacking.disabled[0]}"/>
                <h:outputLabel value="演讲人身份证号/护照号"/>
                <h:inputText value="#{lectureBacking.ID}" size="40" readonly="#{lectureBacking.disabled[0]}"/>
                <h:outputLabel value="拟请参加讲座人员"/>
                <h:inputTextarea value="#{lectureBacking.audience}" rows="8" cols="40" readonly="#{lectureBacking.disabled[0]}"/>
                <h:outputLabel value="学院主管领导意见"/>
                <h:inputTextarea value="#{lectureBacking.opinion}" rows="8" cols="40" readonly="#{lectureBacking.disabled[1]}"/>
                <h:outputLabel value=""/>
                <h:selectOneRadio value="#{lectureBacking.decision}" readonly="#{lectureBacking.disabled[1]}">
                    <f:selectItem itemLabel="同意" itemValue="agree"/>
                    <f:selectItem itemLabel="拒绝" itemValue="refuse"/>
                </h:selectOneRadio>
            </h:panelGrid>
            <c:if test="#{param.action=='examine'}">
                <h:selectOneRadio value="#{lectureBacking.decision}" readonly="#{lectureBacking.disabled[1]}">
                    <f:selectItem itemLabel="同意" itemValue="agree"/>
                    <f:selectItem itemLabel="拒绝" itemValue="refuse"/>
                </h:selectOneRadio>
            </c:if>
                <h:commandButton value="提交" action="#"/>
            
        </h:form>
    </ui:define>


</ui:composition>
